package com.start.cloud.attence.web.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.*;

/**
 * Created by xxu on 2018/4/24.
 */
@RestController
@RequestMapping
public class DoorSettingController {

    @Value("${attence.door.setting.name}")
    private String name;


    @Value("${attence.door.setting.location}")
    private String location;


    @RequestMapping(
            value = "/test",
            method = RequestMethod.GET
    )
    @ResponseBody
    public String getGroupConfig( ) {

        return name + "  ^^^  " + location;


    }



    }
